﻿<controls:ChildWindow xmlns:my1="clr-namespace:SLControls.Controls;assembly=SLControls"  x:Class="VAdvantage.Grids.VCreateFrom"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="717" Height="308" 
           Title="VCreateFrom" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:my="clr-namespace:VAdvantage.Controls">
    
    <Grid>
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="123*" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid Name="tablePanel">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="29" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
        </Grid>
        <Grid Name="bottomPanel" Grid.Row="2" Height="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="188*" />
                <ColumnDefinition Width="190*" />
            </Grid.ColumnDefinitions>
            <Button Height="40" HorizontalAlignment="Left" Margin="0,1,147,5" Name="btnSelectAllButton" VerticalAlignment="Bottom" Width="45">
                <Image Margin="0,0,0,0" Source="/VAdvantage;component/Images/UnCheked.PNG" Stretch="Fill" Height="Auto" Width="Auto" HorizontalAlignment="Left" />
            </Button>
            
            <Button Height="35" HorizontalAlignment="Right" Margin="147,0,0,5" Name="btnOk" VerticalAlignment="Bottom" Width="35"  Grid.Column="1">
                <Image Margin="0,0,0,0"  Source="/VAdvantage;component/Images/right_up.png" Stretch="Fill"  FlowDirection="LeftToRight" Grid.Column="1" HorizontalAlignment="Right" />
            </Button>
            
            <Button Height="35" HorizontalAlignment="Right" Margin="105,0,40,4" Name="btnCancel" VerticalAlignment="Bottom" Width="35" Grid.Column="1">
                <Image Margin="0,0,0,0" Source="/VAdvantage;component/Images/cancel_up.png" Stretch="Fill" HorizontalAlignment="Left"  Grid.Column="1" />
            </Button>
            
        </Grid>
        <Grid Name="gridPanel" Grid.Row="1" ShowGridLines="True">
                <!--<my:VDataGrid x:Name="vdgvRecords" BorderBrush="Black" VirtualizingStackPanel.VirtualizationMode="Standard">-->
                <!--<my:VDataGrid.Columns>
                    <sdk:DataGridTemplateColumn Header="SELECT">
                        <sdk:DataGridTemplateColumn.CellTemplate>
                            <DataTemplate>
                                <CheckBox x:Name="chkSelect" Click="ch_Click" VerticalAlignment="Center" HorizontalAlignment="Center"  IsChecked="False" ></CheckBox>
                            </DataTemplate>
                        </sdk:DataGridTemplateColumn.CellTemplate>
                    </sdk:DataGridTemplateColumn>
                </my:VDataGrid.Columns>-->
            <!--</my:VDataGrid>-->
                <my1:VDataGrid Name="vdgvRecords" BorderBrush="Black" >
                    
                </my1:VDataGrid>
            </Grid>
        <my:VStatusBar Grid.Row="3" x:Name="statusBar" />
        </Grid>
        <Grid x:Name="busyWindow" Opacity=".4" Background="LightGray" Visibility="Collapsed">
            <TextBlock x:Name="txtBusy" FontSize="20" FontStyle="Italic" Visibility="Collapsed" HorizontalAlignment="Center" Text="Loading...." VerticalAlignment="Center"></TextBlock>
        </Grid>
    </Grid>

</controls:ChildWindow>